@charset 'utf-8';
body {
    background-color: #45a176;
    header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background-color: #265941;
        padding: 0.25rem;
        text-align: center;
    }
}

button {
    background: none;
    border: 1px solid #fff;
    outline: none;
    margin: 0.5rem;
    padding: 1rem;
    font-size: 1.2rem;
    line-height: 1;
    color: white;
    cursor: pointer;
    z-index: 10;
}

button:hover {
    background-color: #fff;
    color: #444;
}

.table {
    position: relative;
    margin-top: 100px;
    .card {
        width: 90px;
        height: 120px;
        position: absolute;
        top: 50px;
        left: 100px;
        //      right: 0;
        //      margin: auto;
        transform-style: preserve-3d;
        img {
            position: absolute;
            width: 100%;
            top: 0;
            left: 0;
            &:last-child {
                transform: rotateY(180deg);
            }
        }
    }
    .change {
        transition: transform .5s linear;
        transform: rotateY(180deg);
    }
}